package com.wn.equipment.mapper;

import com.wn.entity.EquipmentManagement;
import com.wn.entity.Feedback;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author zhairenhao 3456789p
 * @date 2022/10/19 15:12
 * @description
 */
@Repository
public interface EquipmentManagementMapper {
    void delete(int id);

    void insert(EquipmentManagement equipmentManagement);

    EquipmentManagement getById(int id);

    void update(EquipmentManagement equipmentManagement);

    /**
     * @Author ReenHamZ
     * @Description 查询全部
     * @Param []
     * @return java.util.List<com.wn.entity.EquipmentManagement>
     **/
    List<EquipmentManagement> getAll();

    /**
     * @Author ReenHamZ
     * @Description 多条件查询
     * @Param [com.wn.entity.EquipmentManagement]
     * @return java.util.List<com.wn.entity.EquipmentManagement>
     **/
    List<EquipmentManagement> getByCondition(EquipmentManagement equipmentManagement);
}
